libdvbv5_d.descriptors

@file descriptors.h @ingroup dvb_table @brief Provides a way to handle MPEG-TS descriptors found on Digital TV streams. @copyright GNU Lesser General Public License version 2.1 (LGPLv2.1) @author Mauro Carvalho Chehab @author Andre Roth

@par Relevant specs The descriptors herein are defined on the following specs: - ISO/IEC 13818-1 - ETSI EN 300 468 V1.11.1 (2010-04) - SCTE 35 2004 - http://www.etherguidesystems.com/Help/SDOs/ATSC/Semantics/Descriptors/Default.aspx - http://www.coolstf.com/tsreader/descriptors.html - ABNT NBR 15603-1 2007 - ATSC A/65:2009 spec

@par Bug Report Please submit bug reports and patches to linux-media@vger.kernel.org

Members

Aliases

dvb_desc_free_func
alias dvb_desc_free_func = void function(dvb_desc* desc)

@brief Function prototype for the descriptors memory free code @ingroup dvb_table

dvb_desc_init_func
alias dvb_desc_init_func = int function(dvb_v5_fe_parms* parms, const(ubyte)* buf, dvb_desc* desc)

@brief Function prototype for the descriptors parsing init code @ingroup dvb_table

dvb_desc_print_func
alias dvb_desc_print_func = void function(dvb_v5_fe_parms* parms, const(dvb_desc)* desc)

@brief Function prototype for the descriptors parsing print code @ingroup dvb_table

dvb_table_init_func
alias dvb_table_init_func = void function(dvb_v5_fe_parms* parms, const(ubyte)* buf, ssize_t buflen, void** table)

@brief Function prototype for a function that initializes the descriptors parsing on a table @ingroup dvb_table

Enums

descriptors
enum descriptors

@enum descriptors @brief List containing all descriptors used by Digital TV MPEG-TS @ingroup dvb_table

Functions

dvb_bcd
uint dvb_bcd(uint bcd)

@brief Converts from BCD to CPU integer internal representation @ingroup dvb_table

dvb_desc_free
void dvb_desc_free(dvb_desc** list)

@brief frees a dvb_desc linked list @ingroup dvb_table

dvb_desc_parse
int dvb_desc_parse(dvb_v5_fe_parms* parms, const(ubyte)* buf, ushort buflen, dvb_desc** head_desc)

@brief parse MPEG-TS descriptors @ingroup dvb_table

dvb_desc_print
void dvb_desc_print(dvb_v5_fe_parms* parms, dvb_desc* desc)

@brief prints the contents of a struct dvb_desc linked list @ingroup dvb_table

dvb_hexdump
void dvb_hexdump(dvb_v5_fe_parms* parms, const(char)* prefix, const(ubyte)* buf, int len)

@brief dumps data into the logs in hexadecimal format @ingroup dvb_table

Manifest constants

DVB_CRC_SIZE
enum DVB_CRC_SIZE;

@brief number of bytes for the descriptor's CRC check @ingroup dvb_table

DVB_MAX_PAYLOAD_PACKET_SIZE
enum DVB_MAX_PAYLOAD_PACKET_SIZE;

@brief Maximum size of a table session to be parsed @ingroup dvb_table

Static variables

dvb_descriptors
const(dvb_descriptor)[] dvb_descriptors;

@brief Contains the parsers for the several descriptors @ingroup dvb_table

dvb_table_initializers
const(dvb_table_init_func)[256] dvb_table_initializers;

@brief Table with all possible descriptors @ingroup dvb_table

Structs

dvb_desc
struct dvb_desc

@struct dvb_desc @brief Linked list containing the several descriptors found on a MPEG-TS table @ingroup dvb_table

dvb_descriptor
struct dvb_descriptor

@struct dvb_descriptor @brief Contains the parser information for the MPEG-TS parser code @ingroup dvb_table

Meta